library _;

import 'package:flutter/material.dart';
import 'package:flutter_app/Const/IFinal.dart';
import 'package:flutter_app/Model/Enums.dart';
import 'package:flutter_app/Model/HomeModel.dart';
import 'package:flutter_app/Util/App/AppUtils.dart';
import 'package:flutter_yfree/YFree.dart';

part 'controller.dart';

part 'view.dart';

class MainPage_Home_Category extends YKeepAlivePage {
  List<ShouYeFLModel> models = [];

  @override
  void yOnCreate() {
    controller_initData();
  }

  @override
  bool ySafeAreaBottom() => false;

  @override
  Widget yBuild(BuildContext context) {
    return Container(
      color: IFinal.Colors.pageBG,
      child: Row(
        children: [
          view_list(),
          Expanded(child: view_main()),
        ],
      ),
    );
  }
}
